package com.annotation.demo04;

// 使用注解
@Description(value = "java 是世界上最好的语言")
public class JavaStudy {

    @Name(originate = "创始人：ymb",community = "联合社区")
    public String getName() {
        return "获取名字的方法";
    }

    @Name(originate = "创始人：kerry",community = "龙步社区")
    public String obtainName() {
        return "这是第二个方法";
    }

    @Title(value = {"Java","PHP","Goland","Python"})
    public String getTitle() {
        return "测试数组参数！";
    }
}
